﻿using System;
using System.Collections.Generic;
using System.Text;

static class ArrayExtension
{

    public static List<T> ToList<T>(this T[] array)
    {
        List<T> tempList = new List<T>();
        for (int i = 0; i < array.Length; i++)
            tempList.Add(array[i]);
        return tempList;
    }

}
